package com.jxau.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @BelongsProject: shop
 * @Belongspackage: com.jxau.mall.user
 * @Author: guojiani
 * @CreateTime: 2025-03-30 00:53
 * @Description: TODO
 * @Version: 1.0
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.jxau.mall.user.mapper"}) //把接口的实现类都装到容器中去
//@ComponentScan(basePackages = {"com.jxau.mall.common.config","com.jxau.mall.user//还有一种解决方法为将该类移动到mall子目录下，这里用的是第二种方法
public class MallUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallUserApplication.class,args);
    }
}

